﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using ShadowCommando.Game.Elements;
using ShadowCommando.Game.Utilites;
namespace ShadowCommando.Game.Elements.Obstacle
{
    class DeadElement:Element
    {
        public DeadElement(int _step,LevelDifficulty difficulty,DeadId id):base(_step,difficulty)
        {
            ElementId = ElementId.Dead;
            deadId = id;
            actualTimerCount = 0;
            timerCount = 10;
            Shootable = true;
            Movable = true;
            Immortal = true;
            DestroyAble = false;
        }

        private DeadId deadId;

        /// <summary>
        /// Id Martwego elementu
        /// </summary>
        public DeadId DeadId
        {
            get { return deadId; }
            set { deadId = value; }
        }
    }
}
